/*
 * Copyright (c) 2008-2012
 * LANIT
 * All rights reserved.
 *
 * This product and related documentation are protected by copyright and
 * distributed under licenses restricting its use, copying, distribution, and
 * decompilation. No part of this product or related documentation may be
 * reproduced in any form by any means without prior written authorization of
 * LANIT and its licensors, if any.
 *
 * $Id$
 */

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 * todo Document type Input
 */
public class Input {

    private static String string;


    public static String fromIn(String description) {
        BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));

        description = description.concat(": ");
        Print.toOut(description);
        try {
            string = bufferedReader.readLine();
        } catch (IOException ioe) {
            Println.toOut(ioe.toString());
            System.exit(1);
        }
        return string;
    }
    //public static String fromFile


}
